		<div class="btn_01">
			<ul>
				<php>
	            $pid=6;
	            if($category['topid'])
	            {   
	                if($category['child']){
	                    $pid=$category['topid'];
	                }else if($category['topid']!=$category['id']){
	                    $pid=$category['topid'];
	                }
	            }
            </php> <think:cate pid="$pid">
				<a href="{$cate|caurl}"><li>
					<img src="{$cate.cover_id|get_cover=###,'path'}" alt="{$cate.title}">
					<p>{$cate.title}</p>
				</li></a>
				 </think:cate>
			</ul>
		</div>	